package com.studio49.exmple.mapper.web.sys;

import java.util.List;

import com.studio49.exmple.core.mapper.TkMapper;
import com.studio49.exmple.entity.web.sys.Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface RoleMapper extends TkMapper<Role> {

	//查询用户角色
	public List<Role> findByUserId(@Param("userId")Long userId);
	
}
